import request from '@/utils/request'

// 查询流程申请单字段列表
export function listWfApplyFormField(query) {
  return request({
    url: '/field/wfApplyFormField/list',
    method: 'get',
    params: query
  })
}

// 查询流程申请单字段详细
export function getWfApplyFormField(id) {
  return request({
    url: '/field/wfApplyFormField/' + id,
    method: 'get'
  })
}

// 保存流程申请单字段
export function saveWfApplyFormField(data) {
  return request({
    url: '/field/wfApplyFormField/save',
    method: 'post',
    data: data
  })
}

// 删除流程申请单字段
export function delWfApplyFormField(id) {
  return request({
    url: '/field/wfApplyFormField/' + id,
    method: 'delete'
  })
}

// 导出流程申请单字段
export function exportWfApplyFormField(query) {
  return request({
    url: '/field/wfApplyFormField/export',
    method: 'get',
    params: query
  })
}
